package com.ygqh.baby.po;

import com.ygqh.baby.ao.*;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class YgProduct {
    private Long id;

    private String productCode;

    private String productName;

    private ProductType productType;

    private BigDecimal productOriginalPrice;

    private BigDecimal productSalePrice;

    private BigDecimal wholesalePrice;

    private BigDecimal distributionPrice;

    private Long brandId;

    private Long groupId;

    private Long categoryId;

    private Long supplierId;

    private Long styleId;

    private String gender;

    private String unitName;

    private String detailImagePath;

    private DataStatus status;

    private ProductStatus saleStatus;

    private Date preSaleDate;

    private Date saleTime;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private String shortName;

    private PromotionType promotionType;

    private Boolean isSpecial;

    private BigDecimal newCustomPrice;

    private Long saleNum;

    private Long commentNum;

    private String tags;

    private BigDecimal shareRate;

    private BigDecimal foreverRate;

    private String basicAttribute;

    private String promotionTag;

    private Boolean sevenReturn;
    /*---------------------------------*/
    private String categoryName;

    private String groupName;

    private Boolean isExist;

    private List<YgProductImages> productImages;

    private List<YgSku> ygSkus;

    private List<YgSku> ygSourceSkus;

    private List<YgStock> ygStocks;

    private YgProductImages mainImage;

    private BigDecimal promotionPrice;

    private BigDecimal vipPrice;

    private Long tmallId;

    private String categoryNames;

    private String salesPlatform;
    private String sellingPoint;

    private Boolean pushKids;

    private BigDecimal valueAddedTaxRate;

    private BigDecimal saleTaxRate;

    private BigDecimal tariffRate;
    private String brandName;
    private String supplierName;
    private SendType sendType;


    public Boolean getSevenReturn() {
        return sevenReturn;
    }

    public void setSevenReturn(Boolean sevenReturn) {
        this.sevenReturn = sevenReturn;
    }

    public String getPromotionTag() {
        return promotionTag;
    }

    public void setPromotionTag(String promotionTag) {
        this.promotionTag = promotionTag;
    }

    public BigDecimal getDistributionPrice() {
        return distributionPrice;
    }

    public void setDistributionPrice(BigDecimal distributionPrice) {
        this.distributionPrice = distributionPrice;
    }

    public BigDecimal getValueAddedTaxRate() {
        return valueAddedTaxRate;
    }

    public void setValueAddedTaxRate(BigDecimal valueAddedTaxRate) {
        this.valueAddedTaxRate = valueAddedTaxRate;
    }

    public BigDecimal getSaleTaxRate() {
        return saleTaxRate;
    }

    public void setSaleTaxRate(BigDecimal saleTaxRate) {
        this.saleTaxRate = saleTaxRate;
    }

    public BigDecimal getTariffRate() {
        return tariffRate;
    }

    public void setTariffRate(BigDecimal tariffRate) {
        this.tariffRate = tariffRate;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Boolean getIsExist() {
        return isExist;
    }

    public void setIsExist(Boolean isExist) {
        this.isExist = isExist;
    }

    public List<YgProductImages> getProductImages() {
        return productImages;
    }

    public void setProductImages(List<YgProductImages> productImages) {
        this.productImages = productImages;
    }

    public List<YgSku> getYgSkus() {
        return ygSkus;
    }

    public void setYgSkus(List<YgSku> ygSkus) {
        this.ygSkus = ygSkus;
    }

    public List<YgSku> getYgSourceSkus() {
        return ygSourceSkus;
    }

    public void setYgSourceSkus(List<YgSku> ygSourceSkus) {
        this.ygSourceSkus = ygSourceSkus;
    }

    public List<YgStock> getYgStocks() {
        return ygStocks;
    }

    public void setYgStocks(List<YgStock> ygStocks) {
        this.ygStocks = ygStocks;
    }

    public YgProductImages getMainImage() {
        return mainImage;
    }

    public void setMainImage(YgProductImages mainImage) {
        this.mainImage = mainImage;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public ProductType getProductType() {
        return productType;
    }

    public void setProductType(ProductType productType) {
        this.productType = productType;
    }

    public BigDecimal getProductOriginalPrice() {
        return productOriginalPrice;
    }

    public void setProductOriginalPrice(BigDecimal productOriginalPrice) {
        this.productOriginalPrice = productOriginalPrice;
    }

    public BigDecimal getProductSalePrice() {
        return productSalePrice;
    }

    public void setProductSalePrice(BigDecimal productSalePrice) {
        this.productSalePrice = productSalePrice;
    }

    public BigDecimal getWholesalePrice() {
        return wholesalePrice;
    }

    public void setWholesalePrice(BigDecimal wholesalePrice) {
        this.wholesalePrice = wholesalePrice;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getStyleId() {
        return styleId;
    }

    public void setStyleId(Long styleId) {
        this.styleId = styleId;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName == null ? null : unitName.trim();
    }

    public String getDetailImagePath() {
        return detailImagePath;
    }

    public void setDetailImagePath(String detailImagePath) {
        this.detailImagePath = detailImagePath == null ? null : detailImagePath.trim();
    }

    public DataStatus getStatus() {
        return status;
    }

    public void setStatus(DataStatus status) {
        this.status = status;
    }

    public ProductStatus getSaleStatus() {
        return saleStatus;
    }

    public void setSaleStatus(ProductStatus saleStatus) {
        this.saleStatus = saleStatus;
    }

    public Date getPreSaleDate() {
        return preSaleDate;
    }

    public void setPreSaleDate(Date preSaleDate) {
        this.preSaleDate = preSaleDate;
    }

    public Date getSaleTime() {
        return saleTime;
    }

    public void setSaleTime(Date saleTime) {
        this.saleTime = saleTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName == null ? null : shortName.trim();
    }

    public PromotionType getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(PromotionType promotionType) {
        this.promotionType = promotionType;
    }

    public Boolean getIsSpecial() {
        return isSpecial;
    }

    public void setIsSpecial(Boolean isSpecial) {
        this.isSpecial = isSpecial;
    }

    public BigDecimal getNewCustomPrice() {
        return newCustomPrice;
    }

    public void setNewCustomPrice(BigDecimal newCustomPrice) {
        this.newCustomPrice = newCustomPrice;
    }

    public Long getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Long saleNum) {
        this.saleNum = saleNum;
    }

    public Long getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Long commentNum) {
        this.commentNum = commentNum;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public BigDecimal getPromotionPrice() {
        return promotionPrice;
    }

    public void setPromotionPrice(BigDecimal promotionPrice) {
        this.promotionPrice = promotionPrice;
    }

    public Long getTmallId() {
        return tmallId;
    }

    public void setTmallId(Long tmallId) {
        this.tmallId = tmallId;
    }

    public BigDecimal getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(BigDecimal vipPrice) {
        this.vipPrice = vipPrice;
    }

    public BigDecimal getShareRate() {
        return shareRate;
    }

    public void setShareRate(BigDecimal shareRate) {
        this.shareRate = shareRate;
    }

    public BigDecimal getForeverRate() {
        return foreverRate;
    }

    public void setForeverRate(BigDecimal foreverRate) {
        this.foreverRate = foreverRate;
    }

    public String getBasicAttribute() {
        return basicAttribute;
    }

    public void setBasicAttribute(String basicAttribute) {
        this.basicAttribute = basicAttribute;
    }

    public String getCategoryNames() {
        return categoryNames;
    }

    public void setCategoryNames(String categoryNames) {
        this.categoryNames = categoryNames;
    }

    public String getSalesPlatform() {
        return salesPlatform;
    }

    public void setSalesPlatform(String salesPlatform) {
        this.salesPlatform = salesPlatform;
    }


    public String getSellingPoint() {
        return sellingPoint;
    }

    public void setSellingPoint(String sellingPoint) {
        this.sellingPoint = sellingPoint;
    }

    public Boolean getPushKids() {
        return pushKids;
    }

    public void setPushKids(Boolean pushKids) {
        this.pushKids = pushKids;
    }


    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }


    public SendType getSendType() {
        return sendType;
    }

    public void setSendType(SendType sendType) {
        this.sendType = sendType;
    }

    @Override
    public String toString() {
        return "YgProduct [id=" + id + ", productCode=" + productCode + ", productName=" + productName + ", productType=" + productType
                + ", productOriginalPrice=" + productOriginalPrice + ", productSalePrice=" + productSalePrice + ", wholesalePrice=" + wholesalePrice
                + ", brandId=" + brandId + ", groupId=" + groupId + ", categoryId=" + categoryId + ", supplierId=" + supplierId + ", styleId=" + styleId
                + ", gender=" + gender + ", unitName=" + unitName + ", detailImagePath=" + detailImagePath + ", status=" + status + ", saleStatus=" + saleStatus
                + ", preSaleDate=" + preSaleDate + ", saleTime=" + saleTime + ", createTime=" + createTime + ", createBy=" + createBy + ", updateTime="
                + updateTime + ", updateBy=" + updateBy + ", shortName=" + shortName + ", promotionType=" + promotionType + ", isSpecial=" + isSpecial
                + ", newCustomPrice=" + newCustomPrice + ", saleNum=" + saleNum + ", commentNum=" + commentNum + ", tags=" + tags + ", shareRate=" + shareRate
                + ", foreverRate=" + foreverRate + ", basicAttribute=" + basicAttribute + ", categoryName=" + categoryName + ", groupName=" + groupName
                + ", isExist=" + isExist + ", productImages=" + productImages + ", ygSkus=" + ygSkus + ", ygSourceSkus=" + ygSourceSkus + ", ygStocks="
                + ygStocks + ", mainImage=" + mainImage + ", promotionPrice=" + promotionPrice + ", vipPrice=" + vipPrice + ", tmallId=" + tmallId
                + ", categoryNames=" + categoryNames + ", pushKids=" + pushKids + "]";
    }

}